<?php

namespace common\models;

class TestContent extends \yii\db\ActiveRecord
{
    public static function tableName()
    {
        return 'test_content';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['content'], 'string'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'content' => '内容',
        ];
    }
}